NumElems := MP SearchArray ( "ToFind" ; aSource ; Start ; aResults ; aIndexNums ; "Operator" )

                             receives
parameter     type     data      description
Source       STRING    NO       Name of the array that contains the sorted  
                                           elements
Result        STRING    NO       Name of the array that will receive the  
                                           distinct elements from Source
            
returns 
value     type        description
NO         N/A          N/A

This routine returns the number of occurrences of "ToFind" in aSource.  It also populates aResults with the values found in aSource, and populates aIndexNums with the element numbers the values were found at.  "Start" is the first element to be searched.  "Operator" is =, #, <, >, <=, >=.

***NOTE***
Pass the actual arrays, NOT the names to this routine